/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Iterator;
import java.util.List;
import java.util.Map;

import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class WrittenOffEnum extends StringEnum
{
    public static final String ISNULL_VALUE = "0";
    public static final String USED_VALUE = "1";
    public static final String UNUSED_VALUE = "2";

    public static final WrittenOffEnum isnull = new WrittenOffEnum("isnull", ISNULL_VALUE);
    public static final WrittenOffEnum used = new WrittenOffEnum("used", USED_VALUE);
    public static final WrittenOffEnum unused = new WrittenOffEnum("unused", UNUSED_VALUE);

    /**
     * construct function
     * @param String writtenOffEnum
     */
    private WrittenOffEnum(String name, String writtenOffEnum)
    {
        super(name, writtenOffEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static WrittenOffEnum getEnum(String writtenOffEnum)
    {
        return (WrittenOffEnum)getEnum(WrittenOffEnum.class, writtenOffEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(WrittenOffEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(WrittenOffEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(WrittenOffEnum.class);
    }
}